import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store/index'
import ElementUI from './config/styles/elementConfig'
import filters from './utils/filter'
import axiosPlugin from '@/config/apiServer/axios-config.js';
import './assets/css/base.css'
import './config/styles/variables.scss'
import VueClipboard from 'vue-clipboard2'

Vue.use(ElementUI)
Vue.use(axiosPlugin)
Vue.use(VueClipboard)

Vue.config.productionTip = false
Object.keys(filters).forEach(key => {
  Vue.filter(key, filters[key]) // 注册全局filter；
})

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')